package com.cooldatasoft.service;

import java.util.List;

import com.cooldatasoft.base.RootService;
import com.cooldatasoft.data.ComboValue;
import com.cooldatasoft.data.Node;
import com.cooldatasoft.data.PersonNodeMapping;
import com.cooldatasoft.data.User;

public interface NodeService extends RootService{

	public List<Node> getNodeList();

	public Node get(Integer entityId);

	public void deleteNodeById(Integer entityId, User currentUser);

	public List<ComboValue> getNodeSelectOptions();

	public List<Node> getChildrenNodeList(Integer rootNodeId);

	public void saveOrUpdate(Node node);

	public List<Node> getNodeListRemoveRootAndCEO();

	public PersonNodeMapping getPersonNodeMappingByPersonId(Integer id);

	public void saveOrUpdate(PersonNodeMapping mapping);

	

}
